//
//  OpenURLMessage.h
//  SulitLoan
//
//  Created by 虞嘉伟 on 2025/3/12.
//  
  

#import <Foundation/Foundation.h>
#import "JSMessageProtocol.h"


NS_ASSUME_NONNULL_BEGIN

@interface OpenURLMessage : NSObject<JSMessageProtocol>

@property (nonatomic, copy , readonly) NSString *name;

@property (nonatomic, weak  ) UIViewController *controller;

- (instancetype)initWithController:(UIViewController *)controller;

- (void)handleMessage:(WKScriptMessage *)message;

@end

NS_ASSUME_NONNULL_END
